package com.apexsoft.monitor.front.console.template.dao;

import com.apexsoft.monitor.front.console.template.om.Template;
import com.baomidou.mybatisplus.mapper.AutoMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TemplateDao extends AutoMapper<Template>{
    public Template selectByTemplateName(@Param("templateName") String templateName);

    public Template selectByTemplateCode(@Param("templateCode") String templateCode);

    public int insertTemplate(Template template);
}
